<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
    	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    	<meta name="viewport" content="width=device-width, initial-scale=1">
    	<link rel="shortcut icon" href="{{asset('favicon.ico')}}">

    	<title>Metalógica - BMP</title>

    	<!-- Bootstrap core CSS -->
    	{{ HTML::style('css/bootstrap.min.css'); }}
    	{{ HTML::style('css/bootstrap2-buttons.css'); }}

    	<!-- Custom styles for this template -->
    	{{ HTML::style('css/metalogica-template.css'); }}

    	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    	<!--[if lt IE 9]>
    		{{ HTML::script('https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js'); }}	
      		{{ HTML::script('https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js'); }}
    	<![endif]-->
	</head>

	<body>

		<div class="navbar navbar-default navbar-fixed-top" role="navigation">
      		<div class="container-fluid">
        		<div class="navbar-header">
          			<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
	            		<span class="sr-only">Toggle navigation</span>
	            		<span class="icon-bar"></span>
	            		<span class="icon-bar"></span>
	            		<span class="icon-bar"></span>
          			</button>
          			<a class="navbar-brand" href="#">Metalógica</a>
        		</div>
        		<div class="navbar-collapse collapse">
          			<ul class="nav navbar-nav navbar-right">
            			<li><a href="#">Login</a></li>
          			</ul>
        		</div>
      		</div>
    	</div>

		<div class="container">
      		{{ Form::open(array('url' => 'login/create', 'class' => 'form-signin', 'role' => 'form', 'method' => 'post')) }}
      			@if(Session::has('message'))
		            <div class="alert alert-danger">{{ Session::get('message') }}</div>
		        @endif
        		<h2 class="form-signin-heading">Por favor, identifique-se</h2>
        		<input type="text" class="form-control" name="username" placeholder="Usuário" required autofocus>
        		<input type="password" class="form-control" name="password" placeholder="Senha" required>
        		<label class="checkbox">
          			<input type="checkbox" value="true" name="rememberMe"> Lembrar usuário
        		</label>
        		<button id="btnLogin" class="btn btn-lg btn-primary btn-block" type="submit">Entrar</button>
      		{{ Form::close() }}
    	</div>

	    <!-- Bootstrap core JavaScript
	    ================================================== -->
	    <!-- Placed at the end of the document so the pages load faster -->
	    {{ HTML::script('js/jquery-1.11.0.min.js'); }}
	    {{ HTML::script('js/bootstrap.min.js'); }}
	</body>
</html>